package com.three_learn.star.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.three_learn.star.system.entity.sys_user;
import com.three_learn.star.system.po.DTO.SysUserDTO;
import com.three_learn.star.system.po.VO.SysUserVO;
import com.three_learn.star.system.po.query.UserQuery;

import java.util.List;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author KO
 * @since 2024-12-07
 */
public interface ISysUserService extends IService<sys_user> {
    //根据id查询用户信息
    public SysUserVO getUserInfo(Long id);

    public void deleteByIds(List<Long> ids);
    //新增用户
    void addUserInfo(SysUserDTO sysUserDTO);
    //根据页码和每页显示条数查询所有用户信息
    List<SysUserVO> queryAll(Integer page, Integer pageSize);


    List<SysUserVO> queryAll1(Integer page, Integer pageSize, UserQuery userQuery);

    void updateById(SysUserDTO sysUserDTO);
}
